<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>西点系列</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        div{
            width: 300px;
            height: 460px;
            /* border: solid 1px red; */
            overflow: hidden;
        }
        div:hover .behind{
            transform: translateY(-220px);
        }
        div:hover .font{
            filter: blur(2px);
            transform: translateY(-5px);
        }
        
        .font,.behind{
            display: block;
        }
        .font{
            width: 300px;
            height: 300px;
            margin-top: 5px;
            transition: all 0.3s ease-in;
        }
        .behind{
            background-color: #F5B8B9;
            width: 300px;
            height: 400px;
            margin-top: 30px;
            transition: all 0.3s ease-in;
        }
        a{
            text-decoration: none;
        }
        .behind span{
            display: block;
            text-align: center;
            color: white;
        }
        .behind span:nth-of-type(1){
            font-size: 25px;
            line-height: 50px;
        }
        .behind span:nth-of-type(2){
            
        }
        .behind span:nth-of-type(3){
            
        }
        .behind span:nth-of-type(4){
            font-size: 15px;
        }
        .behind span:nth-of-type(5){
            width: 100px;
            height: 40px;
            background-color: white;
            border-radius: 50px;
            margin: auto;
            color: orange;
            text-align: center;
            line-height: 40px;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div>
        <a href="" class="font"><img width="300px" height="300px" src="./images/a.jpg" alt=""></a>
        <a href="" class="behind">
            <span>西点系列</span>
            <span>west point series</span>
            <span><img width="35px" height="35px" src="./images/xiajiantou.png" alt=""></span>
            <span>精致西点，时光挚爱，享受初恋般的感觉。</span>
            <span>查看详细</span>
        </a>
    </div>
</body>
</html>